<template>
  <div>
    <el-button icon="el-icon-search" @click="add">添加</el-button>
    <list></list>
  </div>
</template>

<script>
import list from "./list";
import info from "./info";
export default {
  components: {
    list,
    info,
  },
  methods: {
    // 添加菜单
    add() {
      this.$router.push("/index/menu/add");
    },
  },
};
</script>

<style>
</style>